# servo:
#   build: .
#   dockerfile: ./docker/dockerfile-dev
# # dockerfile: ./docker/dockerfile-prod
#   container_name: servo
#   command: npm run start
#   environment:
#     NODE_ENV: development
#   ports:
#     - '3000'
#   volumes:
#     - '.:/home/app'
#     - '/home/app/node_modules'
#   links:
#     - mariadb

mariadb:
  image: 'bitnami/mariadb'
  container_name: mariadb
  ports:
    - '3306'
#     - '3306:3306'
  # volumes:
    # - './data/mariadb:/bitnami'
    # - './data/mariadb:/docker-entrypoint-initdb.d'
    # - './data/mariadb/logs:/opt/bitnami/mariadb/logs'
  environment:
    - MARIADB_ROOT_PASSWORD=23
    - MARIADB_DATABASE=DATABASE
    #     - ALLOW_EMPTY_PASSWORD=yes
    - MARIADB_USER=user
    - MARIADB_PASSWORD=user
